$trigger = New-JobTrigger -Daily -At "09/09/2025 13:00"
$option=New-ScheduledJobOption -RunElevated
$action={$dirpath="c:\hr\"+(Get-Date).ToString("yyyy-MM-dd");New-Item -ItemType Directory $dirpath}
Register-ScheduledJob -Name dailyDirectoryCreated -Trigger $trigger -ScheduledJobOption $option -ScriptBlock $action